package me.shawllvey.share;

import java.util.Arrays;

/**
 * @author shawllvey
 * @date 2019/4/27
 */
public class MyClass {

    public MyClass() {
    }

    public MyClass(String name) {
        System.out.println("constructor with a parameter String. " + name);
    }

    private void info() {
        System.out.println("info method.");
    }

    public void info(String msg) {
        System.out.println("info method with a parameter String. msg=" + msg);
    }

    public void info(String[] msgs) {
        System.out.println("info method with a parameter String. msg=" + Arrays.toString(msgs));
    }
}
